var commomR = [
    //首页
    {
        path: '/home/',
        componentUrl: './pages/home/home.html',
        name: 'home',
    },
    // 一键报警
    {
        path: '/oneAlarm/',
        componentUrl: './pages/home/oneAlarm.html',
        name: 'homeSingle',
    },
    //首页-单联网(已弃用)
    {
        path: '/homeSingle/',
        componentUrl: './pages/home/homeSingle.html',
        name: 'homeSingle',
    },
    //首页-多联网(已弃用)
    {
        path: '/homeMore/',
        componentUrl: './pages/home/homeMore.html',
        name: 'homeMore',
    },
    //监控
    {
        path: '/monitor/',
        componentUrl: './pages/monitor/monitor.html',
        name: 'monitor',
    },
    //应用
    {
        path: '/apply/',
        componentUrl: './pages/apply/apply.html',
        name: 'apply',
    },
    //消息
    {
        //path: '/message/:pushType/:id/:reportDescription/',
        path: '/message/',
        componentUrl: './pages/message/message.html',
        name: 'message',
    },
    //我的
    {
        path: '/mine/',
        componentUrl: './pages/mine/mine.html',
        name: 'mine',
    },
    //探测器 设备列表
    {
        path: '/moreDectorState/:fireTType/:orgid/:orgidname/:type/',
        componentUrl: './pages/moreDectorState/moreDectorState.html',
        name: 'moreDectorState',
    },
    //探测器 设备列表
    {
        path: '/moreDectorState/:fireTType/:orgid/:orgidname/:type/:fcfCategoryId/:fcfCategoryName/',
        componentUrl: './pages/moreDectorState/moreDectorState.html',
        name: 'moreDectorState',
    },
    //远程控制
    {
        path: '/remoteControl/:fireTType/:orgid/:orgidname/:type/',
        componentUrl: './pages/moreDectorState/remoteControl.html',
        name: 'remoteControl',
    },
    {
        path: '/addDevice/',
        componentUrl: './pages/moreDectorState/addDevice.html',
        name: 'addDevice',
    },
    // //通信服务器实时监测
    // {
    //     path: '/communicatServerList/',
    //     componentUrl: './pages/communicatServerList/communicatServerList.html',
    //     name: 'communicatServerList',
    // },
    // //通信服务器列表详情
    // {
    //     path: '/communicatServerDetail/:serverId/',
    //     componentUrl: './pages/communicatServerList/communicatServerDetail.html',
    //     name: 'communicatServerDetail',
    // },

    //单个联网单位
    {
        path: '/singleUnitCard/',
        componentUrl: './pages/singleUnitCard/singleUnitCard.html',
        name: 'singleUnitCard',
    },
    //编辑组件
    {
        path: '/editCard/',
        componentUrl: './pages/editCard/editCard.html',
        name: 'editCard',
    },
    //联网单位实时状态->单位列表
    {
        path: '/unitStatList/:UnitFireTType/',
        componentUrl: './pages/unitStatList/unitStatList.html',
        name: 'unitStatList',
    },
    //消防隐患排名
    {
        path: '/safetyRank/:dataType/',
        componentUrl: './pages/home/safetyRank.html',
        name: 'safetyRank',
    },
    //建筑物详情
    {
        path: '/moreBuild/',
        componentUrl: './pages/moreBuild/moreBuild.html',
        name: 'moreBuild',
    },
    //建筑物详情
    {
        path: '/moreFireSys/',
        componentUrl: './pages/moreFireSys/moreFireSys.html',
        name: 'moreFireSys',
    },
    //设备消防安全隐患排名
    {
        path: '/equipmentSafetyRank/:dataType/',
        componentUrl: './pages/singleUnitCard/equipmentSafetyRank.html',
        name: 'equipmentSafetyRank',
    },
    //消息设置
    {
        path: '/messageSetin/',
        componentUrl: './pages/mine/messageSetin/messageSetin.html',
        name: 'messageSetin',
    },
    //报表设置
    {
        path: '/unitSetin/',
        componentUrl: './pages/apply/unitSetin.html',
        name: 'unitSetin',
    },
    //消控室列表
    {
        path: '/cotrolRoomVideo/:relateObjId/',
        componentUrl: './pages/monitor/cotrolRoomVideo.html',
        name: 'cotrolRoomVideo',
    },
    //公共视频列表
    {
        path: '/comvdList/:relateObjId/',
        componentUrl: './pages/monitor/comvdList.html',
        name: 'comvdList',
        options: {
            context: {
                foo: 'bar',
            },
        },
    },
    // 海康RTSP视频播放
    {
        path: '/videoPlayer/:id/:deviceId/:name/:isConcern/',
        componentUrl: './pages/monitor/videoPlayer.html',
        name: 'videoPlayer',
    },
    //消息设置
    {
        path: '/subscribe/',
        componentUrl: './pages/mine/subscribe.html',
        name: 'subscribe',
    },
]

var messageR = [
    //个人信息
    {
        path: '/mineMsg/',
        componentUrl: './pages/mine/userMsg/mineMsg.html',
        name: 'mineMsg',
    },
    //我的关注
    {
        path: '/mineFocunsOn/:tabId/:type/',
        componentUrl: './pages/mine/mineFocunsOn.html',
        name: 'mineFocunsOn',
    },
    //设备详情
    {
        path: '/eqmentMsg/:id/',
        componentUrl: './pages/equipment/eqmentMsg.html',
        name: 'eqmentMsg',
        options: {
            context: {
                foo: 'bar',
            },
        },
    },
    //关联设备详情
    {
        path: '/relateEqmentMsg/:id/',
        componentUrl: './pages/equipment/relateEqmentMsg.html',
        name: 'eqmentMsg',
        options: {
            context: {
                foo: 'bar',
            },
        },
    },
    //设备历史警情详情
    {
        path: '/policeHistoryDetail/:id/:recordId/:createTime/',
        componentUrl: './pages/equipment/policeHistoryDetail.html',
        name: 'policeHistoryDetail',
        options: {
            context: {
                foo: 'bar',
            },
        },
    },
    //探测器数据统计
    {
        path: '/dataStatistics/:id/',
        componentUrl: './pages/equipment/dataStatistics.html',
        name: 'dataStatistics',
        options: {
            context: {
                foo: 'bar',
            },
        },
    },
    //我的报警
    {
        path: '/mineCallPolice/',
        componentUrl: './pages/mine/userMsg/mineCallPolice.html',
        name: 'mineCallPolice',
    },
    //修改手机号
    {
        path: '/modPhoneNum/',
        componentUrl: './pages/mine/userMsg/modPhoneNum.html',
        name: 'modPhoneNum',
    },
    //确认修改手机号
    {
        path: '/newPhoneNum/',
        componentUrl: './pages/mine/userMsg/newPhoneNum.html',
        name: 'newPhoneNum',
    },
    //修改密码
    {
        path: '/modPassWord/',
        componentUrl: './pages/mine/userMsg/modPassWord.html',
        name: 'modPassWord',
    },

    //系统设置
    {
        path: '/systemSetup/',
        componentUrl: './pages/mine/systemSetup.html',
        name: 'systemSetup',
    },
    //单位列表
    {
        path: '/unitList/',
        componentUrl: './pages/mine/unitMsg/unitList.html',
        name: 'unitList',
    },
    //单位详细信息 /page-loader-template7/:user/:userId/:posts/:postId/
    {
        path: '/unitInfo/:id/',
        componentUrl: './pages/mine/unitMsg/unitInfo.html',
        name: 'unitInfo',
        options: {
            context: {
                foo: 'bar',
            },
        },
    },
    //一键报警
    {
        path: '/keyAlarm/',
        componentUrl: './pages/home/keyAlarm.html',
        name: 'keyAlarm',
    }
]
/*我的*/
var mineR = [
    //VR全景图
    {
        path: '/unitVRview/:id/',
        componentUrl: './pages/mine/VRview/unitVRview.html',
        name: 'unitVRview',
    },
    //多联网单位VR全景列表
    {
        path: '/VRview/',
        componentUrl: './pages/mine/VRview/VRview.html',
        name: 'VRview',
    },
    {
        path: '/layer2D/:organizationIds/:viewType',
        componentUrl: './pages/mine/layerInfo/layer2D.html',
        name: 'layer2D',
    },
    {
        path: '/layer2dDetail/:fbsId/:rtTypeId/:rtObjId/:fctUrl/',
        componentUrl: './pages/mine/layerInfo/layer2dDetail.html',
        name: 'layer2dDetail',
    },
    {
        path: '/layer3D/:organizationIds/',
        componentUrl: './pages/mine/layerInfo/layer3D.html',
        name: 'layer3D',
    },
    {
        path: '/layer3dDetail/:orgId/:layerId/:layerName/',
        componentUrl: './pages/mine/layerInfo/layer3dDetail.html',
        name: 'layer3dDetail',
    },
    //值班表
    {
        path: '/dutyRoster/:organizationId/',
        componentUrl: './pages/mine/unitMsg/dutyRoster.html',
        name: 'dutyRoster',
    }
]

var cardsR = [
    //饼图列子
    {
        path: '/unitState/',
        componentUrl: './pages/cards/unitState.html',
        name: 'unitState',
    },
    //卡片
    //探测器实时统计
    {
        path: '/dectorState/',
        componentUrl: './pages/cards/dectorState.html',
        name: 'dectorState',
    },
    //卡片
    //联网单位实时状态
    {
        path: '/UnitRealtimeState/',
        componentUrl: './pages/cards/UnitRealtimeState.html',
        name: 'UnitRealtimeState',
    },
    //卡片
    //多联网单位实时安全指数
    {
        path: '/unitSafetyExponent/',
        componentUrl: './pages/cards/unitSafetyExponent.html',
        name: 'unitSafetyExponent',
    },
    //多联网单位实时安全指数页面
    {
        path: '/unitSafetyExponentMore/:tabID/',
        componentUrl: './pages/home/unitSafetyExponentMore.html',
        name: 'unitSafetyExponentMore',
    },
    //多联网单位实时安全指数页面 - 跳转到单单位首页
    /*  {
         path: '/soleKanbanFromUnitSafety/',
         componentUrl: './pages/home/soleKanbanFromUnitSafety.html',
         name: 'soleKanbanFromUnitSafety',
     }, */
    //多联网单位巡检页面
    {
        path: '/unitInspectInfo/:tabID/',
        componentUrl: './pages/home/unitInspectInfo.html',
        name: 'unitInspectInfo',
    },
    //新-多联网单位巡检页面
    {
        path: '/newUnitInspectInfo/:tabID/',
        componentUrl: './pages/home/newUnitInspectInfo.html',
        name: 'newUnitInspectInfo',
    },
    //多联网单位实时安全指数详情页面
    {
        path: '/unitSafetyDetail/:orgId/:score/',
        componentUrl: './pages/home/unitSafetyDetail.html',
        name: 'unitSafetyDetail',
    },
    //
    {
        path: '/policeChange/',
        componentUrl: './pages/cards/policeChange.html',
        name: 'policeChange',
    },
    //
    {
        path: '/troubleRank/',
        componentUrl: './pages/cards/troubleRank.html',
        name: 'troubleRank',
    },
    //
    {
        path: '/fireSys/',
        componentUrl: './pages/cards/fireSys.html',
        name: 'fireSys',
    },
    //建筑物结构
    {
        path: '/fireBuild/',
        componentUrl: './pages/cards/fireBuild.html',
        name: 'fireBuild',
    },
    //
    {
        path: '/communicatServer/',
        componentUrl: './pages/cards/communicatServer.html',
        name: 'communicatServer',
    },
    //
    {
        path: '/focusEquipment/',
        componentUrl: './pages/cards/focusEquipment.html',
        name: 'focusEquipment',
    },
    //
    {
        path: '/focusVedio/',
        componentUrl: './pages/cards/focusVedio.html',
        name: 'focusVedio',
    },
    //
    {
        path: '/policeStat/',
        componentUrl: './pages/cards/policeStat.html',
        name: 'policeStat',
    },
    //设备消防安全隐患
    {
        path: '/equipmentRank/',
        componentUrl: './pages/cards/equipmentRank.html',
        name: 'equipmentRank',
    },
]
/*应用applay*/
var applyR = [
    // 交接班首页
    {
        path: '/changeShifts/',
        componentUrl: './pages/apply/changeShifts/index.html',
        name: 'changeShifts',
    },
    // 交接班详情
    {
        path: '/changeShiftsDetails/:id/:name',
        componentUrl: './pages/apply/changeShifts/details.html',
        name: 'changeShiftsDetails',
    },
    // 创建值班二维码
    {
        path: '/succession/:id/:type/',
        componentUrl: './pages/apply/changeShifts/succession.html',
        name: 'succession',
    },
    // 创建值班
    {
        path: '/createList/:createType/:copy/:controlName/:orgId/:dutyAccount/:shiftsEndTime/:shiftsStartTime/:createAccount/:dutyUserName/:name/',
        componentUrl: './pages/apply/changeShifts/createList.html',
        name: 'createList',
    },
    // 待考列表
    {
        path: '/exam/',
        componentUrl: './pages/apply/exam/index.html',
        name: 'exam',
    },
    // 开始考试
    {
        path: '/examPageIndex/:id',
        componentUrl: './pages/apply/exam/examPageIndex.html',
        name: 'examPageIndex',
    },
    // 单场考试
    {
        path: '/examPage/:id',
        componentUrl: './pages/apply/exam/examPage.html',
        name: 'examPage',
    },
    //考试结果
    {
        path: '/examResult/:id',
        componentUrl: './pages/apply/exam/examResult.html',
        name: 'examResult',
    },
    //排名
    {
        path: '/rankingList/:id',
        componentUrl: './pages/apply/exam/rankingList.html',
        name: 'rankingList',
    },
    //历史记录
    {
        path: '/history/',
        componentUrl: './pages/apply/exam/history.html',
        name: 'history',
    },
    //答案解析
    {
        path: '/answer/:id',
        componentUrl: './pages/apply/exam/answer.html',
        name: 'answer',
    },
    //答案解析
    {
        path: '/lookAnswer/:id',
        componentUrl: './pages/apply/exam/lookAnswer.html',
        name: 'lookAnswer',
    },
    //应急解析详情
    {
        path: '/dealEmergencyApply/',
        componentUrl: './pages/apply/dealEmergencyApply.html',
        name: 'dealEmergencyApply',
    },
    {
        path: '/emergencyList/',
        componentUrl: './pages/apply/dealEmergency/emergencyList.html',
        name: 'emergencyList',
    },
    {
        path: '/emergencyDetail/:currentEmId/:id',
        componentUrl: './pages/apply/dealEmergency/emergencyDetail.html',
        name: 'emergencyDetail',
    },
    //历史警情
    {
        path: '/historyPoliceApply/:type/:fireTType/:startTime/:endTime/:orgid/:handlerStatus/',
        componentUrl: './pages/apply/satisfy/historyPoliceApply.html',
        name: 'historyPoliceApply',
    },
    //历史警情列表
    {
        path: '/historyPolice/:id/',
        componentUrl: './pages/equipment/historyPolice.html',
        name: 'historyPolice',
    },
    //单联网用户-资产管理-列表
    {
        path: '/assetsListForSingle/:orgId/:fbsId/:fbsName/',
        componentUrl: './pages/apply/assetsManage/assetsListForSingle.html',
        name: 'assetsListForSingle',
    },
    // 资产子级
    {
        path: '/assetsNextChild/:orgId/:fbsId/:fbsName/',
        componentUrl: './pages/apply/assetsManage/assetsNextChild.html',
        name: 'assestsNextChild',
    },
    //多联网用户-资产管理-列表
    {
        path: '/assetsListForMore/',
        componentUrl: './pages/apply/assetsManage/assetsListForMore.html',
        name: 'assetsListForMore',
    },
    // //资产管理-列表
    {
        path: '/assetsList/:categoryId/:systemName/:type/:total/:expireCount/:systemId/:fbsId/:fbsName/',
        componentUrl: './pages/apply/assetsManage/assetsList.html',
        name: 'assetsList',
    },
    //资产管理-详情
    {
        path: '/assetsDetail/:assetsId/:visualCode/',
        componentUrl: './pages/apply/assetsManage/assetsDetail.html',
        name: 'assetsDetail',
    },
    //资产管理-维保记录
    {
        path: '/maintainRecord/:assetsId/:assetsType/',
        componentUrl: './pages/apply/assetsManage/maintainRecord.html',
        name: 'maintainRecord',
    },
    //资产管理-室內定位
    {
        path: '/assetsFmap/:assetsId/',
        componentUrl: './pages/apply/assetsManage/assetsFmap.html',
        name: 'assetsFmap',
    },
    // vue日常巡检
    {
        path: '/checkApply/:tabId/:taskId/:readonly/:pointCode/',
        componentUrl: './pages/apply/inspection.html',
        name: 'checkApply',
    },
    //新巡检页面归档记录
    {
        path: '/inspectRecords/',
        componentUrl: './pages/apply/inspectRecords.html',
        name: 'inspectRecords',
    },
    //新巡检页面归档记录
    {
        path: '/inspectRecords/:dateTime/',
        componentUrl: './pages/apply/inspectRecords.html',
        name: 'inspectRecords',
    },
    //隐患整改
    {
        path: '/troubleApply/:tabID/',
        componentUrl: './pages/apply/troublePages/troubleApply.html',
        name: 'troubleApply',
    },
    //新建隐患整改
    //拓展taskId用于维保模块
    {
        path: '/createTrouble/:detail/:taskId/:pointId/',
        componentUrl: './pages/apply/troublePages/createTrouble.html',
        name: 'createTrouble',
    },
    //选择相关资产
    {
        path: '/relatedAssets/:chargeCompany/:chargeBuildId/:buildName/',
        componentUrl: './pages/apply/troublePages/relatedAssets.html',
        name: 'relatedAssets',
    },
    //选择物联设备
    {
        path: '/relatedEquipment/:chargeCompany/:chargeBuildId/:buildName/',
        componentUrl: './pages/apply/troublePages/relatedEquipment.html',
        name: 'relatedEquipment',
    },
    //已完成隐患整改详情troubleDetails
    {
        path: '/finishMsg/:id/',
        componentUrl: './pages/apply/troublePages/finishMsg.html',
        name: 'finishMsg',
    },
    // //整改中隐患整改详情
    // {
    //     path: '/troubleDetails/:id/',
    //     componentUrl: './pages/apply/troublePages/troubleDetails.html',
    //     name: 'troubleDetails',
    // },
    //本期计划--录入
    {
        path: '/dayAplanDetail/:orgId/:maintenancePlanId/:fireSystemId/:systemName/:instruction/:progress/',
        componentUrl: './pages/apply/dayCareApplyPage/dayAplanDetail.html',
        name: 'dayAplanDetail',
    },
    //查岗
    {
        path: '/inspectionApply/',
        componentUrl: './pages/apply/inspectionApply.html',
        name: 'inspectionApply',
    },
    //查岗结果
    {
        path: '/inspectionApplyRecords/:inspectId',
        componentUrl: './pages/apply/inspectionApplyRecords.html',
        name: 'inspectionApplyRecords',
    },
    //手动查岗
    {
        path: '/manualZhagang/',
        componentUrl: './pages/inspectionApply/manualZhagang.html',
        name: 'manualZhagang',
    },
    //监控查岗
    {
        path: '/monitorZhagang/',
        componentUrl: './pages/inspectionApply/monitorZhagang.html',
        name: 'monitorZhagang',
    },
    //查岗历史记录列表
    {
        path: '/recordingZhagang/',
        componentUrl: './pages/inspectionApply/recordingZhagang.html',
        name: 'recordingZhagang',
    },
    //查岗记录详情
    {
        path: '/recordingZhagangDetails/:taskId/:taskName/',
        componentUrl: './pages/inspectionApply/recordingZhagangDetails.html',
        name: 'recordingZhagangDetails',
    },
    //多单位报表入口
    {
        path: '/reportApplyChoice/',
        componentUrl: './pages/apply/reportApplyChoice.html',
        name: 'reportApplyChoice',
    },
    //消防报表
    {
        path: '/reportApply/:orgIds/:showSelect/',
        componentUrl: './pages/apply/reportApply.html',
        name: 'reportApply',
    },
    //消防报表详情
    {
        path: '/reportApplyDetail/:reportId/:isUnit/:reportName/:year/:period/',
        componentUrl: './pages/apply/reportApplyDetail.html',
        name: 'reportApplyDetail',
    },
    //预案库
    {
        path: '/planLibraryApply/',
        componentUrl: './pages/apply/planLibraryApply.html',
        name: 'planLibraryApply',
    },
    //预案库
    {
        path: '/planLibraryDetails/:id/:flowContent/:taskContent/',
        componentUrl: './pages/apply/planLibraryDetails.html',
        name: 'planLibraryDetails',
    },
    //一键报警
    {
        path: '/keyAlarmApply/',
        componentUrl: './pages/apply/keyAlarmApply.html',
        name: 'keyAlarmApply',
    },
    //点位位置显示在百度地图
    {
        path: '/pointBaiduMap/:longitude/:latitude/:pointName/',
        componentUrl: './pages/baiduMap/pointBaiduMap.html',
        name: 'pointBaiduMap',
    },
    //巡检任务详情页面
    // {
    //     path: '/checkPointDetail/:visualCode/',
    //     componentUrl: './pages/apply/checkPointDetail.html',
    //     name: 'checkPointDetail',
    // },
    //新巡检任务详情页面
    {
        path: '/checkPointDetailNew/:isHave/:visualCode/:taskId/',
        componentUrl: './pages/apply/checkPointDetailNew.html',
        name: 'checkPointDetailNew',
    },
    //点位详情页面
    {
        path: '/pointDetailNew/:isHave/:visualCode/',
        componentUrl: './pages/apply/pointDetail.html',
        name: 'pointDetail',
    },
    //首页新巡检任务详情页面
    {
        path: '/pointDetail/:isHave/:visualCode/',
        componentUrl: './pages/apply/pointDetailNew.html',
        name: 'pointDetailNew',
    },
    //巡检任务已完成详情页面
    // {
    //     path: '/checkCompleted/:taskId/',
    //     componentUrl: './pages/apply/checkCompleted.html',
    //     name: 'checkCompleted',
    // },
    //新巡检任务已完成详情页面
    {
        path: '/checkCompletedNew/:isHave/:visualCode/:taskId/',
        componentUrl: './pages/apply/checkCompletedNew.html',
        name: 'checkCompletedNew',
    },
    //去整改
    {
        path: '/goRectification/:id/',
        componentUrl: './pages/apply/troublePages/goRectification.html',
        name: 'goRectification',
    },
    //去指派
    {
        path: '/goAppoint/:id/',
        componentUrl: './pages/apply/troublePages/goAppoint.html',
        name: 'goAppoint',
    },
    //去整改  联网单位id 隐患整改id 创建人账户 隐患等级id 隐患类型id
    {
        path: '/addRectification/:orgId/:hiddenDangerId/:createAccount/:troubleRank/:categoryId/',
        componentUrl: './pages/apply/troublePages/addRectification.html',
        name: 'addRectification',
    },
    //去核实  联网单位id 隐患整改id 创建人账户 隐患等级id 隐患类型id
    {
        path: '/goVerify/:tbId/',
        componentUrl: './pages/apply/troublePages/goVerify.html',
        name: 'goVerify',
    },
    //驳回
    {
        path: '/reject/:orgId/:hiddenDangerId/:createAccount/:troubleRank/:categoryId/',
        componentUrl: './pages/apply/troublePages/reject.html',
        name: 'reject',
    },
    //核实通过页面
    {
        path: '/tbpass/:orgId/:hiddenDangerId/:createAccount/:troubleRank/:categoryId/',
        componentUrl: './pages/apply/troublePages/tbpass.html',
        name: 'tbpass',
    },
    //学习
    {
        path: '/study/',
        componentUrl: './pages/apply/study/study.html',
        name: 'study',
    },
    //学习详情
    {
        path: '/studyDetail/:studyId/',
        componentUrl: './pages/apply/study/studyDetail.html',
        name: 'studyDetail',
    },
    //学习详情原文
    {
        path: '/studyDetailOriginal/',
        componentUrl: './pages/apply/study/studyDetailOriginal.html',
        name: 'studyDetailOriginal',
    },
    //学习历史
    {
        path: '/studyRecord/',
        componentUrl: './pages/apply/study/studyRecord.html',
        name: 'studyRecord',
    },
    //关闭措施
    {
        path: '/closeReminder/',
        componentUrl: './pages/apply/closeReminder/closeReminder.html',
        name: 'closeReminder',
    },
    //关闭措施历史记录
    {
        path: '/createcloseReminder/',
        componentUrl: './pages/apply/closeReminder/createcloseReminder.html',
        name: 'createcloseReminder',
    },
    //创建关闭措施
    {
        path: '/historyReminder/',
        componentUrl: './pages/apply/closeReminder/historyReminder.html',
        name: 'historyReminder',
    },

]

/*支队新增卡片*/
var newCards = [
    /*单单位*/
    //设施实时监测
    {
        path: '/realTimeMoni/',
        componentUrl: './pages/newCards/singleUnit/realTimeMoni.html',
        name: 'realTimeMoni',
    },
    //今日巡检
    {
        path: '/todayInspectOld/',
        componentUrl: './pages/newCards/singleUnit/todayInspect.html',
        name: 'todayInspect',
    },
    //新今日巡检
    {
        path: '/todayInspect/',
        componentUrl: './pages/newCards/singleUnit/newTodayInspect.html',
        name: 'todayInspect',
    },
    //隐患整改
    {
        path: '/hiddenCheck/',
        componentUrl: './pages/newCards/singleUnit/hiddenCheck.html',
        name: 'hiddenCheck',
    },
    //消控室值守
    {
        path: '/fireRoomDuty/',
        componentUrl: './pages/newCards/singleUnit/fireRoomDuty.html',
        name: 'fireRoomDuty',
    },
    //当前值班
    {
        path: '/currentDuty/',
        componentUrl: './pages/newCards/singleUnit/currentDuty.html',
        name: 'currentDuty',
    },
    //消火栓
    {
        path: '/fireHydrant/',
        componentUrl: './pages/newCards/singleUnit/fireHydrant.html',
        name: 'fireHydrant',
    },
    //水源
    {
        path: '/waterSource/',
        componentUrl: './pages/newCards/singleUnit/waterSource.html',
        name: 'waterSource',
    },
    //电气火灾
    {
        path: '/electricalFire/',
        componentUrl: './pages/newCards/singleUnit/electricalFire.html',
        name: 'electricalFire',
    },

    /*支队*/
    //实时安全指数
    {
        path: '/realSafety/',
        componentUrl: './pages/newCards/moreUnit/realSafety.html',
        name: 'realSafety',
    },
    //火灾高危信号
    {
        path: '/fireHazard/',
        componentUrl: './pages/newCards/moreUnit/fireHazard.html',
        name: 'fireHazard',
    },
    //消火栓
    {
        path: '/fireHydrant_org/',
        componentUrl: './pages/newCards/moreUnit/fireHydrant_org.html',
        name: 'fireHydrant_org',
    },
    //水源
    {
        path: '/waterSource_org/',
        componentUrl: './pages/newCards/moreUnit/waterSource_org.html',
        name: 'waterSource_org',
    },
    //子平台卡片
    {
        path: '/platform/',
        componentUrl: './pages/newCards/moreUnit/platform.html',
        name: 'platform',
    },
    //新支队点位今日巡检统计
    {
        path: '/newOrgTodayInspect/',
        componentUrl: './pages/newCards/moreUnit/newOrgTodayInspect.html',
        name: 'newOrgTodayInspect',
    },
    //新支队设施实时监测
    {
        path: '/realTimeMoni_org/',
        componentUrl: './pages/newCards/moreUnit/realTimeMoni_org.html',
        name: 'realTimeMoni_org',
    },
    //火灾高危信号列表
    {
        path: '/fireHazardList/:tabID/',
        componentUrl: './pages/newPages/fireHazard/fireHazardList.html',
        name: 'fireHazardList',
    },
    //火灾高危信号历史记录列表
    {
        path: '/fireHazardHistoryList/',
        componentUrl: './pages/newPages/fireHazard/fireHazardHistoryList.html',
        name: 'fireHazardHistoryList',
    },
    //火灾高危信号详情
    {
        path: '/fireHazardDetail/:id/:type/',
        componentUrl: './pages/newPages/fireHazard/fireHazardDetail.html',
        name: 'fireHazardDetail',
    },
    //火灾高危信号立即处理
    {
        path: '/fireHazardCancel/:id/',
        componentUrl: './pages/newPages/fireHazard/fireHazardCancel.html',
        name: 'fireHazardCancel',
    },

    //电气火灾监测
    {
        path: '/electricalFire_org/',
        componentUrl: './pages/newCards/moreUnit/electricalFire_org.html',
        name: 'electricalFire_org',
    },

    //重大问题
    {
        path: '/keyIssues/',
        componentUrl: './pages/newCards/moreUnit/keyIssues.html',
        name: 'keyIssues',
    },
    //重大问题列表
    {
        path: '/keyIssuesList/:tabID/',
        componentUrl: './pages/newPages/keyIssues/keyIssuesList.html',
        name: 'keyIssuesList',
    },
    //重大问题历史记录列表
    {
        path: '/keyIssuesHistoryList/',
        componentUrl: './pages/newPages/keyIssues/keyIssuesHistoryList.html',
        name: 'keyIssuesHistoryList',
    },
    //重大问题详情
    {
        path: '/keyIssuesDetail/:id/:type/',
        componentUrl: './pages/newPages/keyIssues/keyIssuesDetail.html',
        name: 'keyIssuesDetail',
    },
    //重大问题立即处理
    {
        path: '/keyIssuesCancel/:id/',
        componentUrl: './pages/newPages/keyIssues/keyIssuesCancel.html',
        name: 'keyIssuesCancel',
    },
    //一键报警，立即处理
    {
        path: '/immediateHandle/:id/:createTime/:status/:orgId/',
        componentUrl: './pages/apply/immediateHandle.html',
        name: 'immediateHandle',
    },

    //今日巡检
    {
        path: '/todayInspect_orgOld/',
        componentUrl: './pages/newCards/moreUnit/todayInspect_org.html',
        name: 'todayInspect_org',
    },

    //今日支巡检队端-新
    {
        path: '/todayInspect_org/',
        componentUrl: './pages/newCards/moreUnit/newTodayInspect_org.html',
        name: 'todayInspect_org',
    },
    //隐患整改
    {
        path: '/hiddenCheck_org/',
        componentUrl: './pages/newCards/moreUnit/hiddenCheck_org.html',
        name: 'hiddenCheck_org',
    },
    //警情变化
    {
        path: '/alarmChange/',
        componentUrl: './pages/newCards/moreUnit/alarmChange.html',
        name: 'alarmChange',
    },
    //应用全部
    {
        path: '/applyAll/:type/',
        componentUrl: './pages/apply/applyAll.html',
        name: 'applyAll',
    },
    //巡检点位
    {
        path: '/waitApply/:taskId/:orgId/',
        componentUrl: './pages/apply/waitApply.html',
        name: 'waitApply',
    },
    //九小场所看板
    {
        path: '/ninePlace/',
        componentUrl: './pages/newCards/singleUnit/ninePlace.html',
        name: 'ninePlace',
    },
    //九小场所-轮播-详情
    {
        path: '/ninePlaceDetail/:nid/',
        componentUrl: './pages/newCards/singleUnit/ninePlaceDetail.html',
        name: 'ninePlaceDetail',
    },
    //九小场所设施实时监测
    {
        path: '/realTimeMoni_nine',
        componentUrl: './pages/newCards/singleUnit/realTimeMoni_nine.html',
        name: 'realTimeMoni_nine',
    },
    //新处理页面
    {
        path: '/immediateAtten/:rId/:rTime/:rStatus/:rOrg/:fireSTypes/:fcFacilitiesId',
        componentUrl: './pages/immediateAtten/immediateAtten.html',
        name: 'immediateAtten',
    },
];




/*4.0*/
var newCards2 = [
    //单一业主方、单一租赁方看板
    {
        path: '/soleKanban/',
        componentUrl: './pages/kanban/soleKanban/soleKanban.html',
        name: 'soleKanban',
    },
    //小型监管方、大型监管方看板(多平台用户)
    //说明：1.不论是多、单平台用户，默认进入多平台首页  2.多平台首页下钻到单平台
    {
        path: '/largeKanban/',
        componentUrl: './pages/kanban/largeKanban/largeKanban.html',
        name: 'largeKanban',
    },
    //单平台用户
    {
        path: '/largeKanban_singlePlat/',
        componentUrl: './pages/kanban/largeKanban/largeKanban_singlePlat.html',
        name: 'largeKanban_singlePlat',
    },
    //展示分层图，室内地图
    {
        path: '/showLayerOrFmap/:fcfId/',
        componentUrl: './pages/layered/showLayerOrFmap.html',
        name: 'showLayerOrFmap',
    },
    //签到
    {
        path: '/signIn/',
        componentUrl: './pages/signIn/signIn.html',
        name: 'signIn',
    },
    // 签收记录
    {
        path: '/signInRecord/:singeAccount/',
        componentUrl: './pages/signIn/signInRecord.html',
        name: 'signInRecord',
    },


    //打卡
    {
        path: '/clockIn/',
        componentUrl: './pages/clockIn/clockIn.html',
        name: 'clockIn',
    },
    //打卡规则
    {
        path: '/clockInRule/',
        componentUrl: './pages/clockIn/clockInRule.html',
        name: 'clockInRule',
    },
    //打卡记录
    {
        path: '/clockInRecords/',
        componentUrl: './pages/clockIn/clockInRecords.html',
        name: 'clockInRecords',
    },
    /* 保养 */
    {
        path: '/maintain/:tabId/:orgid/',
        componentUrl: './pages/maintain/maintain.html',
        name: 'maintain',
    },
    {
        path: '/maintainTask/:taskId/:businessId/:businessType/',
        componentUrl: './pages/maintain/maintainTask.html',
        name: 'maintainTask',
    },
    {
        path: '/maintainDetail/:taskId/:pageName/',
        componentUrl: './pages/maintain/maintainDetail.html',
        name: 'maintainDetail',
    },
    // 全部保养区域
    {
        path: '/allBuild/:pageName/:taskId/:orgName/:taskName/:status/:taskOrgId/',
        componentUrl: './pages/maintainCommon/allBUild.html',
        name: 'allBuild',
    },
    { //添加责任人
        path: '/maintainOwner/:orgIds/:taskIds/:pageName/:personObj',
        componentUrl: './pages/maintainCommon/maintainOwner.html',
        name: 'maintainOwner',
    },
    // 保养详情照片墙
    {
        path: '/maintainDetailPic/:taskId/:type',
        componentUrl: './pages/maintainCommon/maintainDetailPic.html',
        name: 'maintainDetailPic',
    },
    // 保养设备
    {
        path: '/maintainEquipt/:taskId/:status/',
        componentUrl: './pages/maintainCommon/maintainEquipt.html',
        name: 'maintainEquipt',
    },
    // 任务完成时间线
    {
        path: '/maintainDetailTimeLine/:taskId/:taskType',
        componentUrl: './pages/maintainCommon/maintainDetailTimeLine.html',
        name: 'maintainDetailTimeLine',
    },
    // 维保巡查
    {
        path: '/maintainInspect/:tabID/:orgid/',
        componentUrl: './pages/maintainInspect/maintainInspect.html',
        name: 'maintainInspect',
    },
    // 维保巡查-详情
    {
        path: '/maintainInspectDetail/:taskId/:pageName/',
        componentUrl: './pages/maintainInspect/maintainInspectDetail.html',
        name: 'maintainInspectDetail',
    },
    // 维保巡查-楼栋
    {
        path: '/maintainInspectBuild/:taskId/:orgName/:taskName/:status/',
        componentUrl: './pages/maintainInspect/maintainInspectBuild.html',
        name: 'maintainInspectBuild',
    },
    // 维保巡查-作业
    {
        path: '/maintainInspectTask/:taskId/:businessId/:businessType/',
        componentUrl: './pages/maintainInspect/maintainInspectTask.html',
        name: 'maintainInspectTask',
    },
    // 单点测试
    {
        path: '/singleTest/:tabID/:orgid/',
        componentUrl: './pages/singleTest/singleTest.html',
        name: 'singleTest',
    },
    // 联动测试
    {
        path: '/linkTest/:tabID/:orgid/',
        componentUrl: './pages/linkTest/linkTest.html',
        name: 'linkTest',
    },
    // 单点测试详情
    {
        path: '/singleTestDetail/:taskId/:pageName/',
        componentUrl: './pages/singleTest/singleTestDetail.html',
        name: 'singleTestDetail',
    },
    // 单点测试作业
    {
        path: '/singleTestTask/:taskId/:businessId/:businessType/:taskDetailId/',
        componentUrl: './pages/singleTest/singleTestTask.html',
        name: 'singleTestTask',
    },
    // 联动测试详情
    {
        path: '/linkTestDetail/:taskId/',
        componentUrl: './pages/linkTest/linkTestDetail.html',
        name: 'linkTestDetail',
    },
    // 联动测试作业
    {
        path: '/linkTestTask/:taskId/',
        componentUrl: './pages/linkTest/linkTestTask.html',
        name: 'linkTestTask',
    },
    // 关联作业申请列表
    {
        path: '/workApplyList/:taskId/',
        componentUrl: './pages/maintainCommon/workApplyList.html',
        name: 'workApplyList',
    },
    // 关联故障列表
    {
        path: '/repairList/:taskId/',
        componentUrl: './pages/maintainCommon/repairList.html',
        name: 'repairList',
    },
    // 档案—单单位
    {
        path: '/filesLib/',
        componentUrl: './pages/filesLib/filesLib.html',
        name: 'filesLib',
    },
    // 档案—多单位
    {
        path: '/filesLib/:orgId',
        componentUrl: './pages/filesLib/filesLibDetail.html',
        name: 'filesLib',
    },
    // 档案详情
    {
        path: '/filesLibDetail/:orgId',
        componentUrl: './pages/filesLib/filesLibDetail.html',
        name: 'filesLibDetail',
    },
    // 档案—值班表
    {
        path: '/shiftSchedule/:organizationId/',
        componentUrl: './pages/filesLib/shiftSchedule.html',
        name: 'shiftSchedule',
    },
    // 档案—消防图纸
    {
        path: '/fireDrawing/:picturesUrl/:drawingPicturesUrls/',
        componentUrl: './pages/filesLib/fireDrawing.html',
        name: 'fireDrawing',
    },
    // 档案—建筑物
    {
        path: '/building/:organizationId/',
        componentUrl: './pages/filesLib/building.html',
        name: 'building',
    },
    // 档案—室内地图
    {
        path: '/IndoorMap/:organizationId/:organizationName/',
        componentUrl: './pages/filesLib/IndoorMap.html',
        name: 'IndoorMap',
    },
    // 档案—VR
    {
        path: '/VR/:VRUrl/',
        componentUrl: './pages/filesLib/VR.html',
        name: 'VR',
    },
    // 档案—消防备案
    {
        path: '/fireStationRecordUrl/:picUrl/',
        componentUrl: './pages/filesLib/fireStationRecordUrl.html',
        name: 'fireStationRecordUrl',
    },
    // 作业申请
    {
        path: '/workApply/',
        componentUrl: './pages/workApply/workApply.html',
        name: 'workApply',
    },
    // 临时任务
    {
        path: '/temporaryTask/',
        componentUrl: './pages/temporaryTask/temporaryTask.html',
        name: 'temporaryTask',
    },
    // 测试任务关联警情列表
    {
        path: '/correlatedAlarm/:taskId/:type/:taskDetailId/:testType/:relateAlarmIds/:pageName',
        componentUrl: './pages/maintainCommon/correlatedAlarm.html',
        name: 'correlatedAlarm',
    },
    //作业详情[作业申请]
    {
        path: '/workApplyDetail/:taskId/:status/',
        componentUrl: './pages/workApply/workApplyDetail.html',
        name: 'workApplyDetail',
    },
    // 创建作业申请
    {
        path: '/workApplyCreate/:taskId/:taskInfo',
        componentUrl: './pages/workApply/workApplyCreate.html',
        name: 'workApplyCreate',
    },
    // 作业申请--审批页面
    {
        path: '/approveApply/:taskId/',
        componentUrl: './pages/workApply/approveApply.html',
        name: 'approveApply',
    },
    //作业申请-相关任务列表
    {
        path: '/relateTaskList/:taskId/:orgId/',
        componentUrl: './pages/workApply/relateTaskList.html',
        name: 'relateTaskList',
    },
    //创建临时任务
    {
        path: '/createTemporaryTask/',
        componentUrl: './pages/temporaryTask/createTemporaryTask.html',
        name: 'createTemporaryTask',
    },
    //临时任务详情
    {
        path: '/TemporaryTaskDetail/:taskId/',
        componentUrl: './pages/temporaryTask/temporaryTaskDetail.html',
        name: 'TemporaryTaskDetail',
    },
    //审批临时任务
    {
        path: '/approveTask/:status/:orgId/:taskId/:pageName/',
        componentUrl: './pages/temporaryTask/approveTask.html',
        name: 'approveTask',
    },
    //维保报告
    {
        path: '/maintenceReport/:id/:orgName/:dateTime/',
        componentUrl: './pages/apply/maintenceReport/maintenceReport.html',
        name: 'maintenceReport',
    }
]

/*维保方看板*/
let maintenceKanban = [{
        path: '/maintenceKanban/',
        componentUrl: './pages/kanban/maintenceKanban/maintenceKanban.html',
        name: 'maintenceKanban',
    },
    //安全指数
    {
        path: '/maintainceSafety/',
        componentUrl: './pages/kanban/maintenceKanban/maintainceSafety.html',
        name: 'maintainceSafety',
    },
    //今日签到
    {
        path: '/maintainceTodayCheck/',
        componentUrl: './pages/kanban/maintenceKanban/maintainceTodayCheck.html',
        name: 'maintainceTodayCheck',
    },
    //物联设备
    {
        path: '/maintainceEquip/',
        componentUrl: './pages/kanban/maintenceKanban/maintainceEquip.html',
        name: 'maintainceEquip',
    },
    //接处警
    {
        path: '/maintainceReceivingPolice/',
        componentUrl: './pages/kanban/maintenceKanban/maintainceReceivingPolice.html',
        name: 'maintainceReceivingPolice',
    },
    //物联设备-隐患
    {
        path: '/maintainceEquipHidden/',
        componentUrl: './pages/kanban/maintenceKanban/maintainceEquipHidden.html',
        name: 'maintainceEquipHidden',
    },
    //维保模块统计
    {
        path: '/maintainceStatistics/',
        componentUrl: './pages/kanban/maintenceKanban/maintainceStatistics.html',
        name: 'maintainceStatistics',
    },

    //离线作业
    {
        path: '/offlineWork/:orgId/:dayCheck/:dayWeibao/',
        componentUrl: './pages/mine/offlineWork/offlineWork.html',
        name: 'offlineWork',
    },
    //选择离线作业
    {
        path: '/selectofflineWork/',
        componentUrl: './pages/mine/offlineWork/selectofflineWork.html',
        name: 'selectofflineWork',
    },
    //接处警
    {
        path: '/maintainceReceivingPolice/',
        componentUrl: './pages/kanban/maintenceKanban/maintainceReceivingPolice.html',
        name: 'maintainceReceivingPolice',
    },

    /*思维*/
    //水管网压力
    {
        path: '/waterPressure/',
        componentUrl: './pages/siwei/waterPressure.html',
        name: 'waterPressure',
    },
    //水池水箱液位
    {
        path: '/liquidLevel/',
        componentUrl: './pages/siwei/liquidLevel.html',
        name: 'liquidLevel',
    },
    //维保完成度
    {
        path: '/maintenanceProgress/',
        componentUrl: './pages/siwei/maintenanceProgress.html',
        name: 'maintenanceProgress',
    },
    //维保任务
    {
        path: '/maintenanceTask/',
        componentUrl: './pages/siwei/maintenanceTask.html',
        name: 'maintenanceTask',
    },
]